home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
BASIC
/
LIB
/
EVENTSHELL
/
MOVEC
/
!MoveCaret
/
!Help
< prev
next >
Wrap
Text File
|
1995-12-17
|
3KB
|
82 lines
Help for MoveCaret
------------------------------------------------------------------
An EvntShell Demo application to show how writable icons are handled automatically. Click SELECT in one of the writable icons to set the
caret position and then use CURSOR UP/DOWN, TAB, SHIFT-TAB or
CTRL-CURSOR UP and CTRL-CURSOR DOWN to move the caret.
The keys have the following effects:
TAB, CURSOR DOWN - move to next writable icon
SHIFT-TAB, CURSOR UP - move to previous writable icon
CTRL-CURSOR UP - move to first writable icon
CTRL-CURSOR DOWN - move to last writable icon
The cursor movement is dependant on the icon numbers, so it is necessary
to ensure that they are numbered so that the cursor moves in a logical
manner.
Note that the window is scrolled as necessary to try and keep the icon
fully visible as the caret moves.
Also demonstrated is EvntShell's special facilities for rearranging
the text in draggable writable icons. Dragging on icon to another
copies the text from the first icon to the second one. Holding down
SHIFT moves the text, and holding down CTRL appends the text from the
first icon to the text in the second one. SHIFT and CTRL can be used
together. This allows the user to easily move and copy text around
which would be useful in a program that stores CD tracks for example.
(I wish that SmartCD+ did this!). The windows do have to belong to
the same task (at the moment).
For Style Guide purists it is possible to disable automatic writable
icon drags as demonstrated here. Default when the application starts
is enabled though!
The window autoscrolls if possible to allow drags to any part of the
window. This is sort of modelled on the way StrongED does it in that
the further you move the pointer from the edge of the window the faster
it scrolls (more non Style Guide stuff I'm afraid...). Panes attached
to the upper and lower edges are taken into account.
Conditions of Use
------------------------------------------------------------------
This application is SHAREWARE and is part of the EvntShell library
system. This means that if you make use of EvntShell to write your
own programs you are expected to register your copy which costs
£5.00 or 15Dm.
I do not give any guarantee that it is free of bugs, or supply any
warranty about its suitability for use. However if there are any
problems with it and you notify me of them then I will do my best
to rectify them given the time and the ability.
You may give this application to anyone, via any medium, so long
as it is delivered with ALL the supplied files and unaltered
(except !Run and !Boot).
You have permission to use any part or the whole application in
any ShareWare/Public Domain project, ONCE YOU HAVE REGISTERED YOUR
COPY, as long as I am fully credited (a sample of the note I would
like included with all applications using EvntShell can be found
in the EvntShell directory called 'HelpText').
If you wish to use these routines in a program that is for sale
(for however much and for whatever reasons) or released as
copyright material then my express permission in writing must be
obtained. I maintain copyright on all the material supplied and
reserve the right to amend these conditions in cases where I deem
misuse.
Complaints, suggestions, registration fees for the EvntShell system
etc to the author:-
Paul Hobbs
Rheinpfalzstrasse 2
85049 Ingolstadt
Germany
Tel : +49 (0) 841 47467
Fax : +49 (0) 8458 6314
EMail: 101323.1367@compuserve.com